<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.select_width {
	width: 130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="project_cotent_value"><x:out select="$xmlData/data/proposal/project_cotent_value" /></c:set>
<div class="t_bar">
	国家资助经费下达情况
</div>
<table id="tblfunds" cellpadding="0" class="t_css table01" width="100%"
	border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr style="border: 1px solid #B7D1E6">
			<th class="TblHead" align="center" width="5%">序号</th>
			<th class="TblHead" align="center" width="20%">经费下达时间</th>
			<th class="TblHead" align="center" width="25%">经费下达通知书/文件编号</th>
			<th class="TblHead" align="center" width="25%">经费进账凭证号</th>
			<th class="TblHead" align="center" width="20%">下达经费金额（万元）</th>
		</tr>
	</thead>

		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/funds/fund" var="fund">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span
					name="funds/fund[${flag}${index}]@seq_no">${index+1}</span></td>
				<td align="center" nowrap>
				<x:out select="$fund/transmit_date"/></td>
				<td style="text-align: center;"><x:out select="$fund/fund_file" />
				</td>
				<td style="text-align: center;"><x:out select="$fund/fund_income_no" />
				</td>
				<td style="text-align: center;"><x:out select="$fund/fund_num" />
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
</table>
<c:if test="${project_cotent_value == '01' }">

<div class="t_bar" id="tblTrains1">
	服务外包企业新录用人员培训情况汇总表
</div>
<c:set var="file_code"><x:out select="$xmlData/data/content/file_code" /></c:set>
		<tr id="uploadsuccess" <c:if test="${file_code==''}" >style="display:none" </c:if> >
			<td>
				已经上传附件：<a id="proposal_downLoadFile" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/proposal/file_code" />" class="link_x" ><span name="proposal/file_name"><x:out select="$xmlData/data/proposal/file_name" /></span></a>&nbsp;&nbsp;(上传时间<span name="proposal/file_date"><x:out select="$xmlData/data/proposal/file_date" /></span>) 
			</td>
		</tr>
<table id="tblTrains" cellpadding="0" class="t_css table01" width="100%"
	border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr style="border: 1px solid #B7D1E6">
			<th class="TblHead" align="center" width="4%" rowspan="2">序号</th>
			<th class="TblHead" align="center" width="8%" rowspan="2">单位名称</th>
			<th class="TblHead" align="center" width="8%" rowspan="2">录用人员姓名</th>
			<th class="TblHead" align="center" width="9%" rowspan="2">身份证号</th>
			<th class="TblHead" align="center" width="7%" rowspan="2">性别</th>
			<th class="TblHead" align="center" width="7%" rowspan="2">学历</th>
			<th class="TblHead" align="center" width="7%" rowspan="2">合同时间</th>
			<th class="TblHead" align="center" width="6%" rowspan="2">是否本地参保</th>
			<th class="TblHead" align="center" width="8%" rowspan="2">最近一次社保缴费日期</th>
			<th class="TblHead" align="center" width="8%" rowspan="2">培训机构</th>
			<th class="TblHead" align="center" width="8%" rowspan="2">培训项目</th>
			<th class="TblHead" align="center" width="16%" colspan="2">培训支出（万元）</th>
		</tr>
		<tr style="border: 1px solid #B7D1E6">
			<th class="TblHead" align="center" width="8%" >总额</th>
			<th class="TblHead" align="center" width="8%" >其中国家扶持金额</th>
		</tr>
	</thead>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/trains/train" var="train">

			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span
					name="trains/train[${flag}${index}]@seq_no">${index+1}</span></td>
				<td style="text-align: center;"><x:out select="$train/train_org_name" />
				</td>
				<td style="text-align: center;"><x:out select="$train/train_psn_name" />
				</td>
				<td style="text-align: center;"><x:out select="$train/card_code" />
				</td>
			   <td style="text-align: center;">
			       <x:out select="$train/train_gender_name" />
				</td>
				<td style="text-align: center;">
			       <x:out select="$train/train_educate_name" />
				</td>
				<td align="center" >
				<x:out select="$train/start_date"/>至<x:out select="$train/end_date"/></td>
				<td style="text-align: center;">
			       <x:out select="$train/train_boolean_name" />
				</td>
				<td align="center" nowrap>
				<x:out select="$train/security_date"/>
				</td>
				<td style="text-align: center;"><x:out select="$train/train_institution" />
				</td>
				<td style="text-align: center;"><x:out select="$train/train_project" />
				</td>
				<td style="text-align: center;"><x:out select="$train/train_pay_total" />
				</td>
				<td style="text-align: center;"><x:out select="$train/train_pay_country" />
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
</table>
</c:if>
<c:if test="${project_cotent_value == '02' }">
<div class="t_bar" id="tblConditions1">
	培训机构人才培训项目情况表
</div>
<table id="tblConditions" cellpadding="0" class="t_css table01" width="100%"
	border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr style="border: 1px solid #B7D1E6">
			<th class="TblHead" align="center" width="5%" >序号</th>
			<th class="TblHead" align="center" width="9%" nowrap>培训项目名称</th>
			<th class="TblHead" align="center" width="9%" >培训内容</th>
			<th class="TblHead" align="center" width="9%" >培训时间</th>
			<th class="TblHead" align="center" width="9%" >培训人数</th>
			<th class="TblHead" align="center" width="9%" >考核通过人数</th>
			<th class="TblHead" align="center" width="9%" >其中与服务外包企业签订1年以上劳动合同人数</th>
			<th class="TblHead" align="center" width="9%" >其中无锡本地就业人数</th>
			<th class="TblHead" align="center" width="9%" >培训收入（万元）</th>
			<th class="TblHead" align="center" width="9%" >培训支出（万元）</th>
			<th class="TblHead" align="center" width="9%" >是否盈利</th>
		</tr>
	</thead>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/conditions/condition" var="condition">

			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span
					name="conditions/condition[${flag}${index}]@seq_no">${index+1}</span></td>
				<td style="text-align: center;"><x:out select="$condition/train_name" />
				</td>
				<td style="text-align: center;"><x:out select="$condition/train_content" />
				</td>
				<td align="center" >
				<x:out select="$condition/start_date"/>至<x:out select="$condition/end_date"/></td>
				<td style="text-align: center;"><x:out select="$condition/train_people" />
				</td>
				<td style="text-align: center;"><x:out select="$condition/pass_people" />
				</td>
				<td style="text-align: center;"><x:out select="$condition/sign_people" />
				</td>
				<td style="text-align: center;"><x:out select="$condition/hire_people" />
				</td>
				<td style="text-align: center;"><x:out select="$condition/train_income" />
				</td>
				<td style="text-align: center;"><x:out select="$condition/train_pay" />
				</td>
				<td style="text-align: center;">
			       <x:out select="$condition/condition_boolean_name" />
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
</table>
<div class="t_bar" id="tblCollects1">
	培训机构人才培训情况汇总表
</div>
<table id="tblCollects" cellpadding="0" class="t_css table01" width="100%"
	border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr style="border: 1px solid #B7D1E6">
			<th class="TblHead" align="center" width="5%" >序号</th>
			<th class="TblHead" align="center" width="9%" nowrap>培训项目名称</th>
			<th class="TblHead" align="center" width="9%" >录用人员姓名</th>
			<th class="TblHead" align="center" width="9%" >身份证号</th>
			<th class="TblHead" align="center" width="9%" >性别</th>
			<th class="TblHead" align="center" width="9%" >学历</th>
			<th class="TblHead" align="center" width="9%" >录用企业名称</th>
			<th class="TblHead" align="center" width="9%" >企业所在地</th>
			<th class="TblHead" align="center" width="9%" >录用企业性质</th>
			<th class="TblHead" align="center" width="9%" >合同时间</th>
			<th class="TblHead" align="center" width="9%" >培训收费（万元）</th>
		</tr>
	</thead>

		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/collects/collect" var="collect">

			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span
					name="collects/collect[${flag}${index}]@seq_no">${index+1}</span></td>
				<td style="text-align: center;"><x:out select="$collect/train_name" />
				</td>
				<td style="text-align: center;"><x:out select="$collect/psn_name" />
				</td>
				<td style="text-align: center;"><x:out select="$collect/card_code" />
				</td>
				<td style="text-align: center;">
			       <x:out select="$collect/collect_gender_name" />
				</td>
				<td style="text-align: center;">
			       <x:out select="$collect/collect_educate_name" />
				</td>
				<td style="text-align: center;"><x:out select="$collect/company_name" />
				</td>
				<td style="text-align: center;">
			       <x:out select="$collect/collect_address_name" />
				</td>
				<td style="text-align: center;">
			       <x:out select="$collect/collect_nature_name" />
				</td>
				<td align="center" >
				<x:out select="$collect/start_date"/>至<x:out select="$collect/end_date"/></td>
				<td style="text-align: center;"><x:out select="$collect/train_income" />
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>
</c:if>
